package com.ruoyi.business.service;

import java.util.List;
import com.ruoyi.business.domain.JtCommissionDetail;
import com.ruoyi.common.core.domain.AjaxResult;

/**
 * 佣金明细Service接口
 * 
 * @author Alan Zhang
 * @date 2025-03-29
 */
public interface IJtCommissionDetailService 
{
    /**
     * 查询佣金明细
     * 
     * @param detailId 佣金明细主键
     * @return 佣金明细
     */
    public JtCommissionDetail selectJtCommissionDetailByDetailId(Long detailId);

    /**
     * 查询佣金明细列表
     * 
     * @param jtCommissionDetail 佣金明细
     * @return 佣金明细集合
     */
    public List<JtCommissionDetail> selectJtCommissionDetailList(JtCommissionDetail jtCommissionDetail);

    /**
     * 新增佣金明细
     * 
     * @param jtCommissionDetail 佣金明细
     * @return 结果
     */
    public int insertJtCommissionDetail(JtCommissionDetail jtCommissionDetail);

    /**
     * 修改佣金明细
     * 
     * @param jtCommissionDetail 佣金明细
     * @return 结果
     */
    public int updateJtCommissionDetail(JtCommissionDetail jtCommissionDetail);

    /**
     * 批量删除佣金明细
     * 
     * @param detailIds 需要删除的佣金明细主键集合
     * @return 结果
     */
    public int deleteJtCommissionDetailByDetailIds(String detailIds);

    /**
     * 删除佣金明细信息
     * 
     * @param detailId 佣金明细主键
     * @return 结果
     */
    public int deleteJtCommissionDetailByDetailId(Long detailId);
}
